package com.oocl.RTManageServer.parser.impl;

import com.oocl.RTManageServer.parser.HttpRequestParser;

public class HttpRequestParserImpl implements HttpRequestParser{

	@Override
	public String parse(String request) {
		if("".equals(request)){
			return "";
		}
		int index = request.indexOf("/");
		request = request.substring(index, request.lastIndexOf(" "));
		return request;
	}

}
